mem: expose typesafe mfns/gfns/pfns to common code
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 5 Jun 2015 10:10:33 +0000 (12:10 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 5 Jun 2015 10:11:17 +0000 (12:11 +0200)
commit177bd5fb7b991e6ac461ede4d2b70c0ec5bfc294
tree082c2239fb973323553cc6df35e2966b7f164f9f
parentf17f08672f21fa65c25250c19f76c021f7aa0523
mem: expose typesafe mfns/gfns/pfns to common code

As the first step of memory management cleanup, introduce the common code to
mfn_t, gfn_t and pfn_t.

The typesafe construction moves to its own header file, while the declarations
and sentinal values are moved to being common.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/include/asm-arm/mm.h
xen/include/asm-x86/guest_pt.h
xen/include/asm-x86/mm.h
xen/include/asm-x86/paging.h
xen/include/xen/mm.h
xen/include/xen/typesafe.h [new file with mode: 0644]